#!/bin/sh

percent=$(echo 100*$(cat /sys/class/backlight/amdgpu_bl1/actual_brightness)/255|bc)

if [[ $percent -gt 50 ]];then
  sign=
else 
  sign=
fi

echo "$sign $percent%"

